package com.tansun.easycare.move;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import org.eclipse.persistence.oxm.annotations.XmlCDATA;

import com.tansun.easycare.rule.common.model.BaseModel;

/**
 * @类名称 RuleFlowModel.java
 * @类描述 <pre>规则流 实体类</pre>
 * @作者 ZengWenfeng
 * @修改人 陈百川
 * @修改时间 2017年5月7日 下午10:57:19
 * @修改内容 新增获取修改信息文件路径
 */
@XmlRootElement(name = "RuleFlowModel")
public class RuleFlowModel extends BaseModel implements Serializable {
    private static final long serialVersionUID = 8993578477614234706L;
    /**
     * 规则流了类型
     **/
    public final static String TYPE = "ruleFlow";
    /**
     * 规则模型保存文件名
     ***/
    public final static String XML_RULEFLOW = "ruleFlow.xml";// XML_RULEFLOW
    /**
     * 规则信息保存文件名
     **/
    public final static String XML_MODEL = "model.xml";// XML_RULEFLOW
    /**
     * 规则流文件保存文件名
     **/
    public final static String BPMN_DATA = "data.bpmn";
    /**
     * 创建状态
     **/
    public final static String STATE_NEW = "1";
    /**
     * 发布状态
     **/
    public final static String STATE_PUBLISH = "2";
    /**
     * 初始版本值
     **/
    public final static String VERSION_INIT_VALUE = "0.01";

    public final static String UNDERLINE = "_";
    /**
     * 规则项目编号
     **/
    private String project;
    /**
     * 规则流类型（固定取值ruleFlow）
     ***/
    private String type;
    /** 规则流编号 ***/
    // private String code;
    /** 规则流名称 ***/
    // private String name;
    /**
     * 规则流图形界面数据
     ***/
    @XmlCDATA
    private String data;
    /**
     * 规则流状态
     ***/
    private String state;
    /** 规则流版本 ***/
    // private String version;
    /*** 创建日期 */
    private String createDate;
    /**
     * 创建人
     ***/
    private String creatorId;
    /**
     * 更新日期
     ***/
    private String updateDate;
    /**
     * 更新人
     ***/
    private String updatorId;

    public RuleFlowModel() {

    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }


    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(String updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdatorId() {
        return updatorId;
    }

    public void setUpdatorId(String updatorId) {
        this.updatorId = updatorId;
    }
}
